home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / sozobon2.zoo / make / patch < prev    next >
Encoding:
Text File  |  1990-12-18  |  825 b   |  45 lines

  1. *** main.c    Wed Dec 12 08:33:34 1990
  2. --- make/main.c    Tue Dec 11 23:13:36 1990
  3. ***************
  4. *** 152,169 ****
  5.   
  6.       setmacro("$", "$");
  7.   
  8. -     while (argc && (p = strchr(*argv, '='))) {
  9. -         char    c;
  10. -         c = *p;
  11. -         *p = '\0';
  12. -         setmacro(*argv, p + 1);
  13. -         *p = c;
  14. -         argv++;
  15. -         argc--;
  16. -     }
  17.       /*
  18.        * By default macro values are read from the environment before
  19.        * the makefile is scanned. That way, the makefile overrides any
  20. --- 152,157 ----
  21. ***************
  22. *** 182,187 ****
  23. --- 170,187 ----
  24.        */
  25.       if (doenv)
  26.           readenv();
  27. +     while (argc && (p = strchr(*argv, '='))) {
  28. +         char    c;
  29. +         c = *p;
  30. +         *p = '\0';
  31. +         setmacro(*argv, p + 1);
  32. +         *p = c;
  33. +         argv++;
  34. +         argc--;
  35. +     }
  36.   
  37.       lineno = 0;    /*  Any calls to error now print no line number */
  38.   
  39.